﻿using System;
namespace Chenxin.Lib.Hr.Entity
{
    /// <summary>
    /// 实体类Attachment 。(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public class Attachment
    {
        public Attachment()
        { }
        #region Model
        private Guid _recordid;
        private Guid _relationid;
        private int? _type;
        private string _path;
        private string _filename;
        private Guid _userid;
        private string _username;
        private Guid _departid;
        private string _departname;
        private Guid _companyid;
        private string _companyname;
        private Guid _cityid;
        private string _cityname;
        /// <summary>
        /// 记录标识
        /// </summary>
        public Guid RecordId
        {
            set { _recordid = value; }
            get { return _recordid; }
        }
        /// <summary>
        /// 关联ID

        /// </summary>
        public Guid RelationId
        {
            set { _relationid = value; }
            get { return _relationid; }
        }
        /// <summary>
        /// 附件类型(10：工作报告附件;20：回复附件;30：发布信息)
        /// </summary>
        public int? Type
        {
            set { _type = value; }
            get { return _type; }
        }
        /// <summary>
        /// 附件路径
        /// </summary>
        public string Path
        {
            set { _path = value; }
            get { return _path; }
        }
        /// <summary>
        /// 附件名字
        /// </summary>
        public string FileName
        {
            set { _filename = value; }
            get { return _filename; }
        }
        /// <summary>
        /// 上传者ID
        /// </summary>
        public Guid UserId
        {
            set { _userid = value; }
            get { return _userid; }
        }
        /// <summary>
        /// 上传者姓名
        /// </summary>
        public string UserName
        {
            set { _username = value; }
            get { return _username; }
        }
        /// <summary>
        /// 上传部门ID
        /// </summary>
        public Guid DepartId
        {
            set { _departid = value; }
            get { return _departid; }
        }
        /// <summary>
        /// 上传部门名
        /// </summary>
        public string DepartName
        {
            set { _departname = value; }
            get { return _departname; }
        }
        /// <summary>
        /// 上传公司ID
        /// </summary>
        public Guid CompanyId
        {
            set { _companyid = value; }
            get { return _companyid; }
        }
        /// <summary>
        /// 上传公司名
        /// </summary>
        public string CompanyName
        {
            set { _companyname = value; }
            get { return _companyname; }
        }
        /// <summary>
        /// 上传城市ID
        /// </summary>
        public Guid CityId
        {
            set { _cityid = value; }
            get { return _cityid; }
        }
        /// <summary>
        /// 上传城市名
        /// </summary>
        public string CityName
        {
            set { _cityname = value; }
            get { return _cityname; }
        }
        #endregion Model

    }
}

